var userUtil = {
  login: function (vue, userid, password) {
    var data = {
      'data': {
        'userid': 'muyan',
        'name': '慧科宜春',
        'password': 'Wx7vJ71XD3TgJg5uiETnKA==',
        'photo': 'nophoto.jpg',
        'phone': '1367727272',
        'email': 'muyan@yootk.com',
        'regdate': '2020-09-23T22:16:11.000+0000',
        'lastdate': '2020-09-23T22:16:11.000+0000',
        'admin': 1,
        'enabled': 1,
        'dflag': 0,
        'roles': [
          {
            'rid': 'goods',
            'path': 'goods_path',
            'title': '商品管理',
            'icon': 'cog',
            'actions': [
              {
                'actid': 'goods:add',
                'path': '/back/admin/goods/goods_add',
                'title': '发布商品',
                'icon': 'cog',
                'rid': 'goods'
              },
              {
                'actid': 'goods:comment',
                'path': '/back/admin/goods/goods_comment',
                'title': '商品评论',
                'icon': 'cog',
                'rid': 'goods'
              },
              {
                'actid': 'goods:kill',
                'path': '/back/admin/goods/goods_kill',
                'title': '秒杀管理',
                'icon': 'cog',
                'rid': 'goods'
              },
              {
                'actid': 'goods:list',
                'path': '/back/admin/goods/goods_list',
                'title': '商品列表',
                'icon': 'cog',
                'rid': 'goods'
              }
            ]
          }
        ]
      },
      'status': 200,
      'message': null,
      'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJNYWxsV2ViVXNlciIsImlzcyI6Ik11eWFuWW9vdGtNYWxsV2ViIiwiaWQiOiJtdXlhbiIsImV4cCI6MTYwMDk1MDEzNiwiaWF0IjoxNjAwOTE0MTM2LCJqdGkiOiJtdXlhbiJ9.clZciAnJA7bEfeHLptOwh-JNHw03l1uhmBK9GPMwzJIDq1b0EMB8LZ5bIQqd6RsAtD6nJqpb0F47ZOZG74JhFw'
    }
    return data
  }
}
export default {
  user: userUtil
}
